//
//  cpliuchengCell.m
//  MyYiJianKangApp
//
//  Created by 张国文 on 16/5/12.
//  Copyright © 2016年 hangzhouyijiyin. All rights reserved.
//

#import "cpliuchengCell.h"
#import "UIView+Yuanjiao.h"

@implementation cpliuchengCell

- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        _imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height - 20 * kAdjustParamater)];
        [self addSubview:_imageView];
        [_imageView setBorderCornerRadius:0 bordercolor:nil cornerRadius:10 * kAdjustParamater];
        
        _label = [[UILabel alloc]initWithFrame:CGRectMake(70 * kAdjustParamater, 50 * kAdjustParamater, kScreenWidth -100 * kAdjustParamater, 25 * kAdjustParamater)];
        _label.backgroundColor = [UIColor clearColor];
        _label.font = [UIFont fontWithName:@"Palatino-Italic" size:25];
        _label.textColor = [UIColor whiteColor];
        _label.textAlignment = NSTextAlignmentCenter;
        [self addSubview:_label];
        
        
        _detaillabel = [[UILabel alloc]initWithFrame:CGRectMake(60 * kAdjustParamater, kScreenHeight - 200 * kAdjustParamater, kScreenWidth -100 * kAdjustParamater, 100 * kAdjustParamater)];
        _detaillabel.backgroundColor = [UIColor clearColor];
        _detaillabel.font = [UIFont fontWithName:@"Palatino-Italic" size:k14Big];
        _detaillabel.textColor = [UIColor whiteColor];
        _detaillabel.textAlignment = NSTextAlignmentCenter;
        _detaillabel.numberOfLines = 0;
        [self addSubview:_detaillabel];
    }
    [self setBorderCornerRadius:0 bordercolor:nil cornerRadius:10 * kAdjustParamater];
    return self;
}
- (void)buynow{
    
}


@end
